package com.dormitory.management.system.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Student对象", description="学生表")
public class StudentExcel implements Serializable {

    private static final long serialVersionUID = 1L;
    @ExcelProperty("学号")
    @ApiModelProperty(value = "学号（账号）")
    private String stuId;
    @ExcelProperty("姓名")
    @ApiModelProperty(value = "姓名")
    private String name;
    @ExcelProperty("性别")
    @ApiModelProperty(value = "性别（0：男，1：女）")
    private String sex;
    @ExcelProperty("年龄")
    @ApiModelProperty(value = "年龄")
    private Integer age;
    @ExcelProperty("班级")
    @ApiModelProperty(value = "班级")
    private String stuClass;
    @ExcelProperty("专业")
    @ApiModelProperty(value = "专业")
    private String major;
    @ExcelProperty("院系")
    @ApiModelProperty(value = "院系")
    private String department;
    @ExcelProperty("出生日期")
    @ApiModelProperty(value = "出生日期")
    private Date birthDate;
    @ExcelProperty("入学日期")
    @ApiModelProperty(value = "入学日期")
    private Date admissionDate;
    @ExcelProperty("地址")
    @ApiModelProperty(value = "地址")
    private String address;
    @ExcelProperty("手机号")
    @ApiModelProperty(value = "手机号")
    private String phone;
    @ExcelProperty("邮箱")
    @ApiModelProperty(value = "邮箱")
    private String email;

}
